trying to fix a bug in block sizing