In case the tool cannot find a better size of the input, return original size BUT compute proper size of the batch, if necessary (as one has to take into account also the size of the FFT plan, not just the size of the input).
Other possibility is to add a new function that would do that.