removed padding and lev. distance