added error message for large Dx