Compartmentalizing metabolic pathways in organelles