Finished laying out MaaStar algorithm.