use offset for left boundary correction in global id