Known Issue in schedule()
added distance as a factor to the schedule algorithm