refactored out the getLiveCellPixel