optimized for three cores.