結果 : how to compute width and length