if(slot->getHistoryLength()>=slidingWindowBufferSize-1){//-1 because actual value is not in the history
if(slot->getNumberOfRelativesToActualValue(thresholdToBeStable)<minNumOfRelatedValuesToBeStable){//-1 because actual value is also on of minNumOfRelatedValuesToBeStable