added monitoring function (performance issues for large ssimulations...)