fix case with a valley between two seeds, and speed up indexing using stride information
Add python wrapper