How would you optimize a search algorithm operating on highly constrained embedded hardware at Planck Technologies?