pathwidth working