More stable DLS solving