Greedy Selection Algorithm Optimized