updated subdivide method to specify straight line subdivisions