Created maxPositions define
Updated maxPositions from 10 to 32