Fixed intermittent issue #1001 Didn't see @afflato already took this, sorry!
Intermittent test failure in Spatial Partition pattern
![image](https://user-images.githubusercontent.com/582346/66769142-09134c00-eebd-11e9-9a90-e694dac91be5.png)

spatial-partition/src/main/java/com/iluwatar/spatialpartition/Rect.java
spatial-partition/src/main/java/com/iluwatar/spatialpartition/Rect.java
diff --git a/spatial-partition/src/main/java/com/iluwatar/spatialpartition/Rect.java b/spatial-partition/src/main/java/com/iluwatar/spatialpartition/Rect.java
index 3d2f01d77d3d..71d4eda5bfa7 100644
--- a/spatial-partition/src/main/java/com/iluwatar/spatialpartition/Rect.java
+++ b/spatial-partition/src/main/java/com/iluwatar/spatialpartition/Rect.java
@@ -28,14 +28,14 @@
  */
 
 public class Rect {
-  int x; 
-  int y; 
-  int width;
-  int height;
+  double x;
+  double y;
+  double width;
+  double height;
 
   //(x,y) - centre of rectangle
 
-  Rect(int x, int y, int width, int height) {
+  Rect(double x, double y, double width, double height) {
     this.x = x;
     this.y = y;
     this.width = width;
