WIP: make some progress on alignment
ENH: write reconstruction functions and implement unary alignment