Construct constraints files.
Constrain the bits on which merging can occur.

Fixes #5.
Fail if mask loading fails.
Merge pull request #7 from mundya/constraints

Constraints