Intelligent Baby compilation