refactor(util) checkExtension: add lExtLength