Compile Structured module to sequential module