building module layout options after optimization