correct slices with minimum thickness, if positions are flipped
switch for regularization