Coloring types and computation layout