A two-step bicriteria scheduling approach for distributed real time systems