Bresenham alterations