finished computing ranks