Use sizeof instead of magic-number