New features for custom stopping criteria   -  https://jira.csiro.au/browse/WIRADA-129