Thank you for your quick reply.
What you have suggested is a good idea, unfortunately not very suitable when you have more than two tasks at the same time: in this case the manual calculation of units to assign could be very laborious
I hope we can do it automatically through priority in the next update of Project!