updated scaling factor to remove instability