max_displacement constrains corr correction