swarm, particle - add ability to restrict dimensions