Allow specification of ranks on node construction