Length is restricted by the length of the shortest lock, beam is usually restricted by the narrowest lock (although there are sometimes other width restrictions), depth—the depth closer to the banks of a canal may be lower than those of the centre channel (this is more of an impediment for widebeams than narrowboats), and height by the clearance under bridges or in tunnels.