Add support for the leafdecay code of BASE and Voxelgarden