For the fixed time stepping, I think, you can simply do this:
```
if(_dt_vector.size() > 0)
{
   _dt_vector.erase(_dt_vector.begin());
   return _dt_vector[0];
else
  return 0.;
```