Rewrite the queries to perform a single scan per tile
Rewrite the queries to perform a single scan per tile

The new query run in 9.848 ms against the vertnet example when
it used to run in 33653.845 ms ...

knownasilya/torque,dbirchak/torque,knownasilya/torque,dbirchak/torque