reduce run length from 1e7 to 1e6