refined buildInput->buildData process