Specified template parameter in get_rounded_size to avoid compilation errors in some compilers.