play legos with enzymes by computing rearrange-able pieces