Finished points algorithm