added first point scaling support