Compiled `sizeOf` pipelines and terminated arrays.

Closes #169.
Closes #166.