make draindir use a bitmatrix instead of a matrix to use less memory