Selection of expansion joints