firststep = 1
firststep = laststep - secondsperday/mdstep + 1
firststep = numsteps + 1
firststep = laststep - endsecs/mdstep + 1
nsteps = laststep - firststep + 1
integer firststep
O firststep,