Updated the leaf node size testing to take multiple weights and work with the g mean update