I worked in canada for a year and was offered to stay
After 5 years in the US
If I am reading this correctly, you came to the United States even though you had an opportunity to stay in Canada. What was the appeal of coming to the United States?
Software engineering salaries in Canada are half what you get from a top-flight US company (e.g., Google, Facebook, etc).
Cost of living isn't that cheap either. Vancouver is an enormously expensive city to live in, and Toronto while cheaper also suffers from low software wages.
After 5 years in the US
If I am reading this correctly, you came to the United States even though you had an opportunity to stay in Canada. What was the appeal of coming to the United States?