add option to regularze based on saturation

latest merge request