Fix for SPH, searchTree didn't exist