optimized pixel access with explicit load()
avoid min/max function calls per sample
bumped version to v0.1.7