Morphological evolution from porous nanofibers to rice like nanobeans