bug fix and add irregular grid option in geocubit