modified sum of fibonacci