Handle dynamic dimensions/inputs