You can set a relative weight inside of this agent to prioritize which axes are more important size conditions. If you do not care how long your designs are along the Z axis, set the Z weight to zero. If you care more about the X size than the Y, set its weight higher.

Note: AgencyGP's Z dimension is up/down. It corresponds to Maya's Y dimension.