added isFinal flags to statistics result struct