diff --git a/geomdl/utilities.py b/geomdl/utilities.py
index <HASH>..<HASH> 100644
--- a/geomdl/utilities.py
+++ b/geomdl/utilities.py
@@ -536,8 +536,8 @@ def make_triangle_mesh(points, size_u, size_v, **kwargs):
     v_range = 1.0 / float(size_v - 1)  # for computing vertex parametric v value
 
     # Vertex array size (also used for traversing triangulation loop)
-    varr_size_u = int(round((size_u / vertex_spacing) + 10e-8))
-    varr_size_v = int(round((size_v / vertex_spacing) + 10e-8))
+    varr_size_u = int(round((float(size_u) / float(vertex_spacing)) + 10e-8))
+    varr_size_v = int(round((float(size_v) / float(vertex_spacing)) + 10e-8))
 
     # Start vertex generation loop
     vertices = [Vertex() for _ in range(varr_size_v * varr_size_u)]
Fix Python 2 compatibility issue for int division