productized choose_points a bit so it can be used by others more easily