no negatives
sum array function
left texture
reference left texture
generalize
cleanup