adds subset operations for hashed shapes