R-tree code implement on CPU and GPu