add atomsegment not finished