rectangularization of survival curve