map constraint done, but it blocks the ui thread