implementing BlockGrowHook
and some formating