Respect boundries on x-axis.
Merge pull request #11 from nko4/wkf/add_boundries_on_x_axis

Respect boundries on x-axis.