Phim decomposition