remove optimasations to find snp index