Implement layout reconstruction