preserve exit status from examples
skip for DIM=1,2