cleaning up
build node size ranking based on parameter passed