use compiled i64 div and rem