made buildFromHash method compatible with new CellObj