NJC3HBR6NJRXVFZ7EVFGN4TVXVMH2K5XMUGVE2NG3ES6DN5U7MRAC
let required_length = row.get_max_length() - row.get_coverage();
let mut required_length = row.get_max_length() - row.get_coverage();
println!("Required length: {}", required_length);
if required_length <= PLANKMIN {
// try to redo previous plank
// Remove previous plank
println!("Removing plank");
row.pop(ms);
// Calculate new required length but divide by two
required_length = (row.get_max_length() - row.get_coverage()) / 2;
}