add ability to limit number of Pointer items+todo

  • fix *max handling in new
  • fix *max when removing items after reaching max.