[SATYR PATCH] python/py_cluster.c: avoid integer wraparound