bgdelta also

Also correctly calculate a delta for pebble.