A new method to restore tectonically beheaded valleys