Changed byte division to double division.