initial static compilation