Solved all problems regarding deleting nodes - taking into
consideration the inner boundaries.