Adding a sane size check