Make sure the numEvents attribute matches stackSlice. Notice that this does not necessarily increase monotonically.