Billings man handed 40-year sentence for youth sexual assault