Added automated generation of OBB!