made the connected textures less code,but still not at the minimum I 
can see mor how it can be improved