* messed up the git history, squash commits * raise error if slow and refine tests * index was off by one * fix the test