Compaction of a bacterial group I ribozyme coincides with the assembly of core helices.