minor performace improvements, began adding bounding-boxes for meshes