Outsourcing calculation of whether undercorreciton or overcorreciton happened. Not working yet