Automatic identification of the critical slip surface of slopes