Fixes bounding calculation