simplify control flow, assign memory to the bids in one place only, prevent fragmentation if there is little space at the very and and we need to grow the file
simplify control flow, assign memory to the bids in one place only, prevent fragmentation if there is little space at the very and and we need to grow the file

git-svn-id: 4e7379b20b57f8e3dde5a0b7363f233184647162@2730 4e380d45-d1fd-0310-85a7-d18ec86df0ad

sriram-mahavadi/extlp,sriram-mahavadi/extlp,sriram-mahavadi/extlp,sriram-mahavadi/extlp