Added machine size protection.