should be `<` because random.nextDouble() can be 0