calculate relationship between block1 and block2