peak window ends at end of trace in csr files