```\n      if ((lockEndTime - oldUserPoint.ts) > (minLockDurationForReward)) {\n        toDistribute +=\n          (balanceOf * tokensPerWeek[weekCursor]) / veSupply[weekCursor];\n      weekCursor += WEEK;\n      }\n```\n