A multi-scale reconstruction method for the anomaly detection in stochastic dynamic networks