optimal placement for minimize erasure code regeneration cost