safe scaling framework