Small optimization to offset (thanks Ariel Flesler)