place waypoints_range in root scope