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