Dividing by zero- About contact length

Thank you @MariamJ and @markus for the suggestions. With states ‘6’ and ‘12’, the number of cracks and their length do not increase.