Fixing mesh's ith python

This approach might work for you: