The lines are selected properly