Different types of ion populations upstream of the 8 October 2013 interplanetary shock