Bounding box float fixes and unit tests