optimize Unpacking