Make integer costs for dynamic chart