set x and y divisions in draw