fixed bug in check of tolX stopping criteria when using sep algorithm