throwing exception when writing incompatible block size
better representation and naming