new algorithm for get_bounding_point, visually nicer placement