More helpful error messages when wrong size is received