Updated ranker to test nesting level.