split shadows into two arrays