licence changed
fixed off-by-one error, improved reordering
show crack contours