added allOffsetPoints