added normal filtering (slow)