Deletion algorithm is garbage