(d)where such vessels adjoin and the space between them, clear of any surrounding brick or other work, is either less than 18 inches in width or is 18 or more inches in width, but is not securely fenced on both sides to a height of at least 3 feet, secure barriers shall be so placed as to prevent passage between them;