Line 2256 of patches.py should be removed 

This line is probably there for debug purpose. 

print(len(codes), saw_vertices.shape)