length scaling working (I think)