CompareAndConquer partially working