Added 4 processors mode.

Please verify correctness :3