Add anti-canterlock checking
Add minumum length to canterlock checking