compute LPIndex every second