implementing baryon block contractions