Use pre-calculated capacity instead of doing the calculation ourselves