Improvements to the pitch search