prepare for building in tree