simplify boudning box generation in route preview