Merging objects that share mesh into a single category