Title: Two-stage programming of parallel systems