Memory efficiency in FFPACK interface