first version
adjust lengths to real neccessities
separate inner and outer hook, add hole in the inner hook for the cross ribs under the boxes for lengths >= 40
cleanup, final length
modularize