Added <climits> to SAM.cpp for UINT_MAX