Hierarchical latent space network model (HLSM)