algorithms zen
comparch reorg