Compartment now takes length and diameter as values [skip ci]