removed constraint on leaf structure