moved some variables to Treecode.h