Effect of structural voids on mesoscale mechanics of epoxybased materials