faster array handling in pullphoton

results in about a 30% speedup (excluding time spent in hashresponse)
when querying (295.019143, 39.368319). See #98.

This is a clean version of PR #99.