Sift matching. Finished. Loop over stages and threshodls