Kaplan - Meier estimator with constraints for right censored