Overflow error in coincidence.c!