Ajellium model analysis on quantum growth of metal nanowires and nanomesas