initial un-optimised int pool impl