Fixes for PP generation and ensure_immutable_contig
Merge pull request #194 from izaid/make_assignment_kernel

Fixes for PP generation and ensure_immutable_contig