Compaction and force propagation in granular packings