Change Product Bundle Item Quantity (Multiple UoMs)

How to make bundle with multiple products with different UoM and when deduct
from stock the deduction based on however product unit of measure.

For example: Bundle X in Unit and product Y In kilos and product Z in Nos and when sell 1.5 from the X bundle the deduction has to be 1.5 from Y and only 1 from Z . So now the system deduct 1.5 from both which this misleading stock from Z.