Fixed massCenter and massCenterW