replace Array with List while handling merging similar neighbour points in RoadGenerator