Working fix for stricter leaf size