finished block scheduling logic...needs to be tested against actual cluster now