Implemented quantizing the data down.