Fix modulo by zero error in stl parser