Reduce upper bound to fit the buffer