Implemented read alignment via pigeonhole principle