Efficiently finds only maximum values