minor changes to tweak performance. time measure in MolSim