On several locations in the code precautions are not being taken for not dividing by 0, this will revert the code.
These functions can be called with 0 value in the input, this value is not checked for being bigger than 0, that means in some scenarios this can potentially trigger a division by zero
FILE : 2023-03-canto-identity/canto-namespace-protocol/src/Utils.sol
Utils.sol#L224
Need to check the (_tiles.length + 1) value is not 0 
