check for gaps in ships