Implemented more logic in LineInfo.addToCellPath(). Fixing a bug