Rewrote multiblock checking.