line2: fixed all horizontal octants