Making calc_block_similarities more efficient