Intermediate commit.

Extended pooling module to use startX and startY.