dict -> list in get best transition