Changed to direct init of boundingbox