added PositionTypeSampler
added perimeter