What would be faster, cheaper, and more reilable after spending cash? D16Y8 or B18C

I want to make my Civic into a street legal track car, currently it has a D16Y8 and I was thinking of buying a B18C and supercharge it.

Which engine would be better if i spent around $2000 to $4000 on them?