Multiple scan statistic with variable window for one dimension data and scan statistic based on connected components in 2D or 3D.