reduce memory footprint; fix do operation; add failed compilation test case
reduce memory footprint; fix do operation; add failed compilation test case