refactor(size) calcSize: rm error