added snap indexing
added snap option
more about snap