Uses the stack for allocation of the scene objects, instead of the heap (except the grid spheres, which are allocated using a vector).