I would suggest to not remove the second template parameter. Lets change the default size but preserve a parameter.

It is useful if the typical data size is known. For example NL-means denoising typically uses 21x21 window so you can declare `AutoBuffer<int, 21*21> window;` and avoid heap allocation in the most common scenario even if its size is slightly bigger than default buffer size.