I wanted to calculate it just once. Moving it in the method would calculate it 0-N times, where N is the length of the base type sequence.