updated submodule -> added functionality to break infinite loop when using max deviation