Well, there are other factors that determine the total grant size. We write up a proposal that declares our expected spending for the next ~3 years. Its all carefully reviewed.
Except that in reality, everyone adds additional spending with the assumption the research grant will be approved with the condition of reduced spending.
ONR/DARPA has been very happy with our robot fish project, so we haven't had funding issues, except spending it all
your tax dollars at work! hehe
Anyway, many of my tutorials are based off of things I've learned while working on this fish, so you are directly benefiting from this spending.