On the constituents of the mod  p cohomology of Shimura curves | Synapse