Calc size of struct