The rate of discharge of medium-expansion foam shall be determined by ____.