2. use boost::shared_ptr instead of ref_ptr
2.added none_filter 3.fixed some warnings in shapeindex util