How range residency and long-range perception change encounter rates