Defining the boundaries of subsystems