You did have 20 BB and the call preflop is just hoping for a race at best. I would wait for better in that spot.