Cleaned up vessel mass facility limit code.