fix binary search (lol)
restore surface aabb calculation