Tweaked nudge function for more percise correction