Make OrdRec make better use of VectorZ

Dealing with #508, this cleans up OrdRec a bit.