For my project I placed a capacitor just before the step-up converter. Because it I redesign the box with 18mm inner height, it's enough space for a big, 1000uF capacitor.