some optimizations for subtextures