How to Split Plan Batch Order Based on Batch Capacity of Resource

I am facing problem with splitting plan batch order based on batch capacity resources in master planning.

I have some resources which different batch capacity, as example : Resource R1 has batch capacity 24.000, Resource R2 has batch capacity 20.000, Resource R3 has batch capacity 30.000.

I can use R1, R2 or R3 to produce an item (let’s say : item X), so I use a capability in my route which the member resources are R1, R2, and R3.

If there’s SO for item X with qty 50.000, I want plan batch orders which generated by system separated based on batch capacity of resources, as example : plan batch order 1 use R2 (20.000) and plan batch order use R3 (30.000).

How to split plan batch order based on batch capacity resources in Ax 2012 R2 ?