pub fn round_upto_power_of_2(num: usize, factor: usize) -> usize
Returns the nearest multiple of factor that is >= than num. Here factor must be a power of 2.
factor
>=
num