Slightly improve "filling in holes" rule