laststep = modelintsteps
laststep = int((secondsperday - startsecs)/mdstep)
laststep = numsteps
firststep = laststep - secondsperday/mdstep + 1
laststep = numsteps + fullsteps
firststep = laststep - endsecs/mdstep + 1
nsteps = laststep - firststep + 1
integer laststep
O laststep,