A jellium model analysis on quantum growth of metal nanowires and nanomesas