Add out of bound checks
EDI: Deal with padding/margin first, add sinc-like filters to EDI VH