Check if 'step' between one segment and another