How to choose these parameters so that we get less collisions and the operations (division and multiplication) are fast enough?