struct Blockmap and realative loading function