created a templated aligner class to test difference between int and double comparison