add vmax capacity check