improving build_intput_BPF