remove unused floor function