layout machine added to stack, files trimmed and slimmed