finish build diff map