check memory size, and protect multiboot module not be overwrited