total risk constraint