fix FreeBSD: "real memory = 268419072 (255 MB)" is not true, 268419072 = 255.984375 MB some code clean up