fixed bug for simulating a spectrum with no height information