style
greedy dynamic composite array tested