Compute offset (preliminary version)