Makes sense, but it might overallocate sometimes, and have no effect with larger T. Maybe we should just use a minimum length here, e.g. 8 or 16.