bugfix to laser line calc logic