Issue75 index search algorithm

see issue #75 
No, I got the same problem with or without the key-word 'discrete'