Use integers instead of floating point numbers for weight and capacity