Mod king func, now contemplates threatened cells