MDL-41551 blocks: added tracking and recognition of custom block regions