The present invention provides a filter for separating particles and/or catalyzer for particle reaction in a fluid. The device comprising array of passageways fabricated on a die wherein the passageway size is controlled by actuators. The passageway size is monitored and the actuators controlling the passageway size are activated conditionally upon the passageway size monitoring. Using movable actuators the passageway can achieve passageway size that is less then the fabrication minimal resolution. Proper locating, setting and/or activation of the actuators create passageways that can perform filtration of particles, trapping of particles and catalyzing particles reaction.