Fixed: BLOCK_SIZE is 64 and some modular arithmetics