search returns raw routes; cost and path calculations are now on-demand functions