The melody uses those chord tones not present in the bass.
You see the same chord tones as above, but added activity with repeated quarter notes.
Notice how little is possible to fulfill the parameters