Replace all occurences of bresenham with line