attribute tables can be added; correct calculation of sub boxes with multi cores