Text this: Optimization of operating parameters for aggregation under magnetic field by response surface methodology