[REF] style and _compute_allocated_amount