Make mini_spacing
aware of both x and y spacing
#39
+21
−10
mini_spacing
aware of both x and y spacing
#39