Compaction-driven black hole growth