Move ilon/ilat/olon/olat inside the C function as local variables.