corrected two inefficiencies in code structure introduced during unrelated edits
corrected two inefficiencies in code structure introduced during unrelated edits

kupiqu/DynaSim,kupiqu/DynaSim,asoplata/DynaSim,asoplata/DynaSim,DynaSim/DynaSim,asoplata/DynaSim,asoplata/DynaSim,asoplata/DynaSim,kupiqu/DynaSim,kupiqu/DynaSim,DynaSim/DynaSim,DynaSim/DynaSim,DynaSim/DynaSim,DynaSim/DynaSim