compile opacities
