chore: set calculation flag immediately upon the call