Revert "Algorithm"

This reverts commit f470c8dc49e3d1159c30650c7d7a59923e724048.