Are you running out of space for grain or water?
I just scaled up an APA recipe for a 55l batch and was 12Kg which should fit in your malt pipe
(I'm assuming the 50l has a deeper malt pipe then the 40l I have had over 10Kg in my 40l)
If it's liquid space you are running out of, just use the max...