fix edge-expanded offsets