Better box height and gpx boundaries