minimize compilation