Rewrote loading of patches that spill over the edge. Instead of padding the patches to be the same size, just treat them as a smaller patch.