sys: get rid of shape functions

borrowed pointers already implement Eq and Ord with deep comparisons