Multiply, not add, the vertical and horizontal transition counts