replace expansion kernel with better version