fix bug
improve route support
calculate bounds for routes, add test