private void unionAround(int index)
    {
        if (topBlock(index))
        {
            union(index, tvBlock);
        }
        if (bottomBlock(index))
        {
            union(index, bvBlock);
        }
        if (hasOpenedUpBlock(index))
        {
            union(index, getUpBlock(index));
        }
        if (hasOpenedDownBlock(index))
        {
            union(index, getDownBlock(index));
        }
        if (hasOpenedLeftBlock(index))
        {
            union(index, getLeftBlock(index));
        }
        if (hasOpenedRightBlock(index))
        {
            union(index, getRightBlock(index));
        }
    }