// Check if we need to update the model's data range. We only work on the
// end sample value because the start sample value is updated first and
// we don't want to update the model twice
// Check if we need to update the model's data range. We only work on the
// end sample value because the start sample value is updated first and
// we don't want to update the model twice