Basic square grid line smoothing

