added more timing info
improved stroke array build