untested changes to use opegm's vectorized api, and reserve space