Cities, county agree on LOST fund distribution