diff --git a/homer_mapping/src/OccupancyMap/OccupancyMap.cpp b/homer_mapping/src/OccupancyMap/OccupancyMap.cpp
index 50b40b7d70294890e408e935abbf0ed81bcc3fbd..464a914b1b610efe866d3a78712066e40df9b706 100644
--- a/homer_mapping/src/OccupancyMap/OccupancyMap.cpp
+++ b/homer_mapping/src/OccupancyMap/OccupancyMap.cpp
@@ -515,16 +515,16 @@ void OccupancyMap::insertRanges ( vector<RangeMeasurement> ranges, ros::Time sta
   if(need_x_left + need_x_right + need_y_down + need_y_up > 0)
   {
       //keep square aspect ration till homer_gui can handle other maps
-      int need_x = need_x_left + need_x_right; 
-      int need_y = need_y_up + need_y_down;
-      if(need_x > need_y)
-      {
-        need_y_down += need_x - need_y;
-      }
-      else if (need_y > need_x)
-      {
-        need_x_right += need_y - need_x;
-      }
+      //int need_x = need_x_left + need_x_right; 
+      //int need_y = need_y_up + need_y_down;
+      //if(need_x > need_y)
+      //{
+        //need_y_down += need_x - need_y;
+      //}
+      //else if (need_y > need_x)
+      //{
+        //need_x_right += need_y - need_x;
+      //}
 
 	  ROS_INFO_STREAM("new map size!");
 	  ROS_INFO_STREAM(" "<<need_x_left<<" "<<need_y_up<<" "<<need_x_right<<" "<<need_y_down);