Give up and use precomputed approach for layout1