Allow buffer to increase arbitrarily in size