worked on RG-78 to revert remainder code and exclude current grant id to get granted amount