Added index defintion to speed up comparison generation, summation of jusp counter stats