Calculated modulo in C is 100x faster. #1