optimization for supernodes