initial version of DetectPlaceCells1D()