Now aborts if numPlys exceeds 10000