refine code, use BytesList to improve performance