scale length modified to 1e7