implement merge local buffer and "can deliver"
canDeliver