convert units (offsets)