A novel method for generating distillation configurations