Nonlocality distillation for high-dimensional correlated boxes