changed koef to 1 for x and y points in AB axis