improve s:expand: split part of codes into s:_expand