Add function to calculate all innerBoxes and set innerbox in data object