Fixed bug with last building in Skyline problem