rename virtual instruction to intermediate
rename headers
fix block handling