Added the ability to recycle points in the local/global functions, instead of always creating new ones.