removed debug boolean and attempt to reduce object creation in
boundingsphere.