computing all contrasts