@karlnapf ah that's what I did but then read your comment once again - you suggested to check for really large/really small new values. I think its better to check old_val+2*epsilon.