first naive iteration of the trap-cell search mechanism