data structure for available space updated

Replication function updated data structure for space available at each
node