modified code to accumulate all skyline points afrer each run