basic_filters - even more optimization
Use more efficient interpolation, optimize some calculations