implemented contstructbid in bufferagent