Add brute force pivotal search