Small deviations of iterated processes in the space of trajectories