[PLAT-6616] StubCalculationMethod fixes

Removed references to removed firstStubStartIndex,
lastStubStartIndex, firstStubEndIndex and lastStubEndIndex.