Main function removed from LSHIndex