Try using binary tree next time