reorder code for clarity
build with sparsehash
note about sparse_hash