use lanczos scale algorithm