The present invention relates to layouts with geometrical objects, and more particularly, to a system and method for compacting layouts in two dimensions simultaneously. A mechanical actuator may block a path of the ammunition between the ammunition storage box and the machine gun or blocks spent ammunition from being ejected. Based on the ray-based initial beam solution, a refined finite-element beam solution is determined that describes the propagation of the seismic waves at the first frequency through the seismic volume of interest by approximating the two-way wave equation with a one-way wave equation. The second chamber is configured to be connected in fluid communication with a pressure generation device.