Nanomechanical z-shape folding of graphene on flat substrate