New, faster (in most cases) function to retrieve counted
number of neighbouring cells (it just quits if N reached)
so some loopcycles is spared and no need to merge arrays