Dictionary.com
Thesaurus.com

had been factoring

  • past perfect progressive
    of factor.
    factor
    noun
    one of the elements contributing to a particular result or situation.