remove saftety guard on bresenham algorithm