Change the hard-coded CAP_MAX