Fixing the corner cases for local minima algorithm