Fix the bug of check_map; If two squares contain common Nest inner-squares, and the two themselves do not have any contain relation, then assign a Nest-contain relation to them.