private double calculatePersonDistance2(int sep) {
   return Constants.MAN_HEIGHT
       + rgen.nextDouble(
           0, Math.min(getHeight() / 2 - Constants.MAN_HEIGHT, sep * Constants.MAN_HEIGHT));
 }
 private double calculateOffsetAngle(double wideAngle) {
   double angleMargin = wideAngle / 5;
   return rgen.nextDouble(angleMargin, (int) wideAngle - angleMargin);
 }