Topology of compressed pebble beds