recurrsion select 1/10-9/10
decimal instead of float, test bench improved