fixed computing seam (middle-left-right)