floor generation improvement