delete size pair parameter, use inline math