add new compute methos

1,range compute
2,auto compute