removed addIdealZ and fixed ASSUME level