Fix ram with large addresses.