Added prefix and postfix memory to the block.