Added asset size check