Removed bug of intersecting blocks.