fix phash generation logic for Urban

$G[hash($bucket[0], $d) => $G[hash($bucket[0], 0)
formatting changes with -debug