added static functions to gather an amount fo KiB or MiB