Renamed 'i' and 'j' to 'dst_y' and 'dst_x' for readability.