Committing changes to program based on algorithm.