added extra run-time asserts to avoid truncation
added extra run-time asserts to avoid truncation

maxdeliso/elevatorSim,maxdeliso/elevatorSim,maxdeliso/elevatorSim,maxdeliso/elevatorSim,maxdeliso/elevatorSim