Better solution for Skyline problem