fixed float rounding error and added a minimum to the hexagon radius length