private static double getLength(float @NotNull [] components) {
    return Math.sqrt(components[0] * components[0] + components[1] * components[1] + components[2] * components[2]);
  }
private static double getLength(float @NotNull [] components)