added rescaled statistics to test_mask