(f)for keeping free passages of such width as may be deemed necessary within any such port, and along or near to the piers, jetties, landing-places, wharves, quays, docks, moorings and other works in or adjoining to the same, and for marking out the spaces so to be kept free;