add a set method to the bbox