Fix for new algo - now v5 works well