fixed number of measures, closes #25