end coding subcell glop inversion