leafSize can be specified as a float