start thinking of compute_fragments as a detail