Size-dependent buckling instability and recovery of beam-like, architected microstructures