fix progressbar in the lasertables

otherwise the first part of the calculation would always be eighter 0 or 1, thus breaking the progress bar