Check size of struct