fixed bug in second pass cic calculations - incorrect x grid length