finish data compilation