env-fastlim: add unpack function