Fix boundary layer adjustment method.