reduce input data amount