Specify ram limit to prevent overflow and ensure proper order of sections