Implemented limit filter

Fixed #117