Density-Aware Smart Grid Node Allocation in Heterogeneous Radio Access Technology Environments