updated all source files for floating weights