pixel_width
On small scales `pixel_width` could become `0`. This caused the creation of buffers of size `0` with consequent overflows.