Revert "Removed BoundingBox class"

This reverts commit 63d3a4715f0798c67ad5c7fa290a1a0cee25d576.