Made test pass.
Use measure layout algorithm for arrange.