Realtime loader refactoring.
Get rid of number overflow warning.