Inverse Procedural Modeling of Trees