Symmetric double step line algorithm