Fairness: How to Achieve It and How to Optimize in a Fair-Division Procedure