Multilevel algorithm finally works :D