doh, fix unsigned int underflow
Add makefile and update to use new reconciliation functions