use macro function and fix data region in LU