fix a bug in the MC limiter (extra 0.5s in one-sided differences)
some restructuring; fix the limiter