align the middle vertices to zero